package springfixture.results;

import fit.Parse;
import fitnesse.fixtures.TableFixture;

public class ExceptionResult extends Result {
    private Exception exception;

    public ExceptionResult(TableFixture tableFixture, Exception exception) {
        super(tableFixture);
        this.exception = exception;
    }

    public void render(Parse cell) {
        tableFixture.exception(cell, exception);
    }

}